/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package firmatest;

import Centrala.Dyspozytor;
import Centrala.DyspozytorRemote;
import dd.TestRemote;
import java.util.List;
import javax.naming.InitialContext;
import javax.naming.NamingException;

/**
 *
 * @author marcin
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws NamingException {
        InitialContext ic = new InitialContext();
        dd.TestRemote test = (dd.TestRemote)ic.lookup("dd.TestRemote");
//        List<marcin.belzowski.uslugi.Dyspozytor> l = test.wyszukaj("1", "brak");
        test.funkcja();
       
    }

}
